package co.rcantor.dev.siasar.util;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

public class ManejadorPropiedades {
		
	private static final String BUNDLE_BD = "co/rcantor/dev/siasar/util/bd";
	private static final ResourceBundle RESOURCE_BUNDLE_BD = ResourceBundle.getBundle(BUNDLE_BD); 
	
	public static String getQuery(String key) {
		try {
			return RESOURCE_BUNDLE_BD.getString(key);
		} catch (MissingResourceException e) {
			return '!' + key + '!';
		}
	}
	
}
